﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%=model.Title %> - <%=SiteConfig.WebName%></title>
<!-- ===== seo ===== -->
<%=AddMetaInfo(SiteConfig.WebKeywords, SiteConfig.WebDescription)%>
<!-- ===== css ===== -->
<link rel="shortcut icon" href="<%=SiteConfig.WebPath%>favicon.ico" mce_href="<%=SiteConfig.WebPath%>favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="<%=SiteTemplatePath("default")%>css/style.css" />
<script type="text/javascript" src="<%=SiteConfig.WebPath%>js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<%=SiteConfig.WebPath%>js/jquery.jqzoom.js"></script>
<script type="text/javascript" src="<%=SiteTemplatePath("default")%>js/picture.js"></script>
<script type="text/javascript" src="<%=SiteTemplatePath("default")%>js/base.js"></script>
<%template src=/_comment_js.htm/%>
</head>
<body>
<%template src=/_warning_ie6.htm/%>
<%template src=/_header.htm/%>
<!-- ===== 正文内容 ===== -->
<div class="container">
	<%template src=/_search_box.htm/%>
	<div class="clear"></div>
	<!-- ===== 面包屑与功能按钮 ===== -->
	<div class="bread_crumbs"><a href="<%=URLRewrite("index", "")%>">主页</a> > <a href="<%=URLRewrite("picture", "")%>">产品中心</a> <%=GetChannel_Menu("picture_list1", model.ClassId) %>
		<div class="right_function_key"> <a href="javascript:void(0);" onclick="SetFontSize('.content_box', 12);"><img src="<%=SiteTemplatePath("default")%>images/font_delete.png" width="16" height="16" /> 缩小</a><a href="javascript:void(0);" onclick="SetFontSize('.content_box', 16);"><img src="<%=SiteTemplatePath("default")%>images/font_add.png" width="16" height="16" /> 放大</a><a href="javascript:window.print();"><img src="<%=SiteTemplatePath("default")%>images/printer.png" width="16" height="16" /> 打印</a> </div>
	</div>
	<!-- ===== 左侧正文 ===== -->
	<div class="page_left">
		<h2 id="news_title"><%=model.Title %></h2>
		<div class="pictureDIV">
		    <div id="preview" class="spec-preview">
              <span class="jqzoom"><img /></span>
	        </div>
            <!--缩图开始-->
            <div class="spec-scroll">
              <a class="prev">&lt;</a>
              <a class="next">&gt;</a>
              <div class="items">
                <ul>
                  <DtContorl:Repeater ID="rptAlbumsList1" runat="server" onload="Picture_Albums_DataBind">
                    <ItemTemplate>
                      <li><img bimg="<%#Eval("ImgUrl")%>" src="<%#SiteConfig.WebPath%>Tools/Http_ImgLoad.ashx?w=292&h=292&gurl=<%#Eval("ImgUrl")%>" onmousemove="preview(this);" /></li>
                    </ItemTemplate>
                  </DtContorl:Repeater>
                </ul>
              </div>
            </div>
            <!--缩图结束-->
		</div>
		<ul class="productItem">
			<li>所属类别：<%=GetChannel_Title(model.ClassId) %></li>
			<DtContorl:Repeater ID="rptExtensionsList1" runat="server" onload="Picture_Extensions_DataBind">
              <ItemTemplate>
                <li><%#Eval("FieldName")%>：<%#Eval("Content")%></li>
              </ItemTemplate>
            </DtContorl:Repeater>
			<li>商品价格：<%=model.Price> 0 ? model.Price + " 元" : "暂无价格" %></li>
			<li>浏览次数：<%=model.Click %></li>
			<li>发布时间：<%=model.AddTime.ToString("yyyy-MM-dd") %></li>
		</ul>
		<div class="clear"></div>
		<!-- ===== 编辑框内容 开始 ===== -->
		<div class="content_box">
			<%=model.Content %>
		</div>
		<div class="addthis">
			<!-- JiaThis Button BEGIN -->
			<div id="ckepop"><a href="http://www.jiathis.com/share/" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank">分享</a><span class="jiathis_separator">|</span> <a class="jiathis_button_qzone"></a><a class="jiathis_button_tsina"></a><a class="jiathis_button_icons_1"></a><a class="jiathis_button_icons_2"></a></div>
			<script type="text/javascript" src="http://v1.jiathis.com/code/jia.js" charset="utf-8"></script>
			<!-- JiaThis Button END -->
		</div>
		<div class="clear"></div>
		<!-- ===== 前后与返回 Previous, Next and Back ===== -->
		<div class="p_n_b">
		    <%if(GetPictureId("IsLock=0 and Id<" + model.Id)>0){%>
		    <a class="previous" href="<%=URLRewrite("picture_show", GetPictureId("IsLock=0 and Id<" + model.Id))%>">« 上一篇</a>
		    <%}else{ %>
		     <a class="previous">上一篇没有啦</a>
		    <%} %>
		    <a class="back" href="javascript:history.back(-1);">返回</a>
		    <%if(GetPictureId("IsLock=0 and Id>" + model.Id)>0){%>
		    <a class="next" href="<%=URLRewrite("picture_show",GetPictureId("IsLock=0 and Id>" + model.Id))%>">下一篇 »</a>
		    <%}else{ %>
		     <a class="next">下一篇没有啦</a>
		    <%} %>
		</div>
		<div class="clear"></div>
		<!-- ===== 用户留言评论 ===== -->
		<%if(model.IsMsg > 0){ %>
        <%template src=/_comment_box.htm/%>
        <%} %>
	</div>
	<!-- ===== 左侧子导航 ===== -->
	<div class="page_right">
		<h3>产品类别</h3>
		<ul class="sidebar_nav">
			<%=GetChannel_List(this.kindId, 0, "picture_list1")%>
		</ul>
		<h3>推荐产品</h3>
		<ul class="sidebar_news">
			<DtContorl:Repeater ID="rptList2" runat="server" onload="Picture_List_DataBind" Top="8" Where="IsLock=0 and IsRed=1">
              <ItemTemplate>
                <li><a href="<%#URLRewrite("picture_show", Eval("Id")) %>"><%#Eval("Title")%></a><i><span><%#Comment_Count(this.kindId,  Convert.ToInt32(Eval("Id")))%> 评论</span><%#Eval("AddTime")%></i></li>
              </ItemTemplate>
            </DtContorl:Repeater>
		</ul>
	</div>
	<div class="clear"></div>
</div>
<%template src=/_footer.htm/%>
</body>
</html>
